package mms

//供货商
class Supplier {
    String name
    String contact
    String tel

//    static hasMany = []
//    static belongsTo = []
//    static transients = []


//    table 'xedu_article'
//    sort  lastTime
    static mapping = {
    }
    //blank 
    //email
    //inList
    //matches 
    //nullable 
    //size
    //unique
    //url 
    static constraints = {
          name(blank: false)
          contact(blank: true)
          tel(blank: true)
    }

    String toString() { 
        name 
    } 
}
